package com.qqhf.common.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class AppConfiguration {
    @Value("${api.qq.map.url}")
    private String qqApiUrl;
    @Value("${cfg.tencentkey}")
    private String tencentKey;
    @Value("${cfg.tencentkey2}")
    private String tencentKey2;
    @Value("${cfg.tencentkey3}")
    private String tencentKey3;
    @Value("${cfg.baidu.map.url}")
    private String baiduApiUrl;
    @Value(("${cfg.baidu.key}"))
    private String baiduKey;
    @Value(("${cfg.baidu.key2}"))
    private String baiduKey2;

    @Value("${aliyun.oss.file.endpoint}")
    private String ossEndpoint;
    @Value("${aliyun.oss.file.keyid}")
    private String ossKeyid;
    @Value("${aliyun.oss.file.keysecret}")
    private String ossKeysecret;
    @Value("${aliyun.oss.file.bucketname}")
    private String ossBucketname;
    //@Value("${img.dir}")
    //private String imgDir;
}
